package com.sky.mapper;

import com.sky.entity.FieldBase;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;

@Mapper
public interface FieldBaseMapper {
    List<FieldBase> selectFieldBaseByCategoryId(Long categoryBaseId);

    @Select("select * from field_base")
    List<FieldBase> list();

    List<Long> selectLinkedFieldIds(Map<String, Object> params);
}
